package com.ibm.csr.staf;

public class RunConfigure {
	
	private String clientName;
	private String serverName;
	private String driverType = "4";
	private String portNumber = "446";
	private String databaseName = "STLEC1";
	private String user = "admf001";
	private String password = "c0deshop";
	private String customize = "no";
	private String onlineCheck = "no";
	private String tracelevel = "TRACE_NONE";
//	private String tracelevel = "TRACE_ALL";
	final static String defaultJccVersion = "4.8.17";
//	final static String defaultJccVersion = "4.12.57";

	public String generateParam() {
		StringBuffer sb = new StringBuffer();
		sb.append(" -driverType ");
		sb.append(driverType);
		sb.append(" -serverName ");
		sb.append(serverName);
		sb.append(" -portNumber ");
		sb.append(portNumber);
		sb.append(" -databaseName ");
		sb.append(databaseName);
		sb.append(" -user ");
		sb.append(user);
		sb.append(" -password ");
		sb.append(password);
		sb.append(" -customize ");
		sb.append(customize);
		sb.append(" -onlineCheck ");
		sb.append(onlineCheck);
		sb.append(" -tracelevel ");
		sb.append(tracelevel);

		return sb.toString();
	}

	public String getDriverType() {
		return driverType;
	}

	public void setDriverType(String driverType) {
		this.driverType = driverType;
	}

	public String getPortNumber() {
		return portNumber;
	}

	public void setPortNumber(String portNumber) {
		this.portNumber = portNumber;
	}

	public String getDatabaseName() {
		return databaseName;
	}

	public void setDatabaseName(String databaseName) {
		this.databaseName = databaseName;
	}

	public String getUser() {
		return user;
	}

	public void setUser(String user) {
		this.user = user;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getCustomize() {
		return customize;
	}

	public void setCustomize(String customize) {
		this.customize = customize;
	}

	public String getOnlineCheck() {
		return onlineCheck;
	}

	public void setOnlineCheck(String onlineCheck) {
		this.onlineCheck = onlineCheck;
	}

	public String getServerName() {
		return serverName;
	}

	public void setServerName(String serverName) {
		this.serverName = serverName;
	}

	public String getTracelevel() {
		return tracelevel;
	}

	public void setTracelevel(String tracelevel) {
		this.tracelevel = tracelevel;
	}

	public String getClientName() {
		return clientName;
	}

	public void setClientName(String clientName) {
		this.clientName = clientName;
	}

}
